WaveDemo={};
WaveDemo.NSpace__1={};
WaveDemo.NSpace__1.MyState__2=function()
{
	
}
;
WaveDemo.NSpace__1.MyState__2.Kennzeichen_get__3=function()
{
	return wave.getState().get('WaveDemo.NSpace__1.MyState__2.Kennzeichen__4', '');
}
;
WaveDemo.NSpace__1.MyState__2.Kennzeichen_set__5=function(value)
{
	wave.getState().submitDelta({'WaveDemo.NSpace__1.MyState__2.Kennzeichen__4': value});
}
;
WaveDemo.NSpace__1.MyState__2.Kennzeichen_set__5_notify=function(value)
{
	if(Kennzeichen__4_)$System.publishProperty.call(Kennzeichen__4_,Kennzeichen_get__3());
	
}
;
WaveDemo.NSpace__1.MyState__2.MaxSpeed_get__6=function()
{
	return wave.getState().get('WaveDemo.NSpace__1.MyState__2.MaxSpeed__7', '');
}
;
WaveDemo.NSpace__1.MyState__2.MaxSpeed_set__8=function(value)
{
	wave.getState().submitDelta({'WaveDemo.NSpace__1.MyState__2.MaxSpeed__7': value});
}
;
WaveDemo.NSpace__1.MyState__2.MaxSpeed_set__8_notify=function(value)
{
	if(MaxSpeed__7_)$System.publishProperty.call(MaxSpeed__7_,MaxSpeed_get__6());
	
}
;
WaveDemo.NSpace__1.MyState__2.Names_get__9=function()
{
	return gadgets.json.parse(wave.getState().get('WaveDemo.NSpace__1.MyState__2.Names__10', ''));
}
;
WaveDemo.NSpace__1.MyState__2.Names_set__11=function(value)
{
	wave.getState().submitDelta({'WaveDemo.NSpace__1.MyState__2.Names__10': gadgets.json.stringify(value)});
}
;
WaveDemo.NSpace__1.MyState__2.Names_set__11_notify=function(value)
{
	if(Names__10_)$System.publishProperty.call(Names__10_,Names_get__9());
	
}
;
$System.extend(WaveDemo.NSpace__1.MyState__2,null, [],
{
	$type:WaveDemo.NSpace__1.MyState__2
}
);
WaveDemo.NSpace__1.MyState__2.prototype.Kennzeichen_get__12=WaveDemo.NSpace__1.MyState__2.prototype.Kennzeichen_get__3;
WaveDemo.NSpace__1.MyState__2.prototype.Kennzeichen_set__13=WaveDemo.NSpace__1.MyState__2.prototype.Kennzeichen_set__5;
WaveDemo.NSpace__1.MyState__2.prototype.MaxSpeed_get__14=WaveDemo.NSpace__1.MyState__2.prototype.MaxSpeed_get__6;
WaveDemo.NSpace__1.MyState__2.prototype.MaxSpeed_set__15=WaveDemo.NSpace__1.MyState__2.prototype.MaxSpeed_set__8;
WaveDemo.NSpace__1.MyState__2.prototype.Names_get__16=WaveDemo.NSpace__1.MyState__2.prototype.Names_get__9;
WaveDemo.NSpace__1.MyState__2.prototype.Names_set__17=WaveDemo.NSpace__1.MyState__2.prototype.Names_set__11;
WaveDemo.NSpace__1.NeuesKennzeichen__18=function(str__19)
{
	$System.Console.Write(str__19);
	
}
;
$System.onloadHandlers.push(function()
{
	$System.Console.Write("Hallo Neue Welt");
	$System.Console.WriteLine();
	var xml__20=function()
	{
		var $x0=document.createElement("input");
		$x0.type="submit";
		$x0.value="Set some value";
		$x0.addEventListener("click",function(a__21)
		{
			return WaveDemo.NSpace__1.MyState__2.Kennzeichen_set__5("FB-XX-1992")
		}
		,false);
		return $x0;
		
	}
	();
	$System.subscribeBinding(WaveDemo.NSpace__1.MyState__2,"Kennzeichen__4_","Kennzeichen_get__3","Kennzeichen_set__5",$System.wrapFuncAsBinding(this,WaveDemo.NSpace__1.NeuesKennzeichen__18));
	
}
);
WaveDemo.System__22={};
WaveDemo.System__22.HTML__23={};
WaveDemo.System__22.Console__24={};
function init() { if (wave && wave.isInWaveContainer()) { wave.setStateCallback(onWaveStateChange); } } gadgets.util.registerOnLoadHandler(init); var init_done = false; onWaveStateChange = function() { if ( !init_done ) { init_done = true; $System.onload() } };